package com.ruoyi.product.constant;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ClientTypeConstant {

    public static final String CLIENT_TYPE_IOS = "ios";

    public static final String CLIENT_TYPE_ANDROID = "android";

    public static final String CLIENT_TYPE_H5 = "h5";

    public static List<Map<String, Object>> mapList = new ArrayList<>();
    public static Map<String, String> typeMap = new HashMap<>();
    static {

        Map<String, Object> h5Map = new HashMap<>();
        h5Map.put("label", "网页");
        h5Map.put("name", CLIENT_TYPE_H5);
        h5Map.put("value", CLIENT_TYPE_H5);

        Map<String, Object> androidMap = new HashMap<>();
        androidMap.put("label", "安卓");
        androidMap.put("name", CLIENT_TYPE_ANDROID);
        androidMap.put("value", CLIENT_TYPE_ANDROID);

        Map<String, Object> iosMap = new HashMap<>();
        iosMap.put("label", "苹果");
        iosMap.put("name", CLIENT_TYPE_IOS);
        iosMap.put("value", CLIENT_TYPE_IOS);

        mapList.add(h5Map);
        mapList.add(androidMap);
        mapList.add(iosMap);

        typeMap.put(CLIENT_TYPE_H5, "网站");
        typeMap.put(CLIENT_TYPE_ANDROID, "安卓");
        typeMap.put(CLIENT_TYPE_IOS, "苹果");

    }

}
